// learn_1 project main.go
package main

import (
	"fmt"
)

type MyType struct {
	name string
	age  int
}

func main() {
	fmt.Println("Hello World!")
	//	my := testCreateMyType("zhangsan", 23)
	//	fmt.Printf("create my type : name =  %s ,age = %d \n", my.name, my.age)
	//	fmt.Println(my)

	//，make 实例
	nums := []int{4, 6, 3, 8}
	//	fmt.Println(nums)
	for i, v := range nums {
		fmt.Printf("index = %d ,value = %d", i, v)
	}
}
